/* 其他全局样式 */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  /*overflow: hidden;*/
  background-color: rgba(255, 255, 255, 0.1%);
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

code {
  background-color: #1a1a1a;
  padding: 2px 4px;
  margin: 0 4px;
  border-radius: 4px;
}

.card {
  padding: 2em;
}

.cartoon-form-container {
  width: 100%;
  height: 500px;
  position: relative;
}

#app {
  margin: auto;
  text-align: center;
}

.el-menu-horizontal-demo {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

@media (prefers-color-scheme: light) {
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
  code {
    background-color: #f9f9f9;
  }
}

/* 特定样式 */
.flex-container {
  display: flex;
  justify-content: space-between; /* 分配项目之间的空间 */
  align-items: center;
}


.flex-item {
  flex: 1;
  margin: 0 auto; /* 通过修改margin来调整位置，这里的auto会使其水平居中 */
  max-width: 50%; /* 设置最大宽度 */
}

.flex-item img {
  max-width: 100%;
  height: auto;
}
